package jrmob.yonyou.com.commonlib.login.bean;

import org.json.JSONObject;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Caojing on 2017/9/19.
 */

public class LoginBean implements Serializable{

    /**
     * task_list : [{"taskId":"","processKey":"eiap786222","processInstanceId":"68b08692-9d16-11e7-8c81-286ed488c6e9","task_name":"报价_quote/客户名：马化/总金额：110300.0/报价编码：20170919A14","task_time":"2017-09-19T05:04:00.000-04:00"},{"taskId":"","processKey":"eiap633135","processInstanceId":"2ff6a44f-9c4c-11e7-8c81-286ed488c6e9","task_name":"放款核销_loanWritoff放款核销Mon Sep 18 16:34:29 CST 2017","task_time":"2017-09-18T04:34:29.000-04:00"},{"taskId":"","processKey":"eiap633135","processInstanceId":"a4db2824-9c1d-11e7-8c81-286ed488c6e9","task_name":"放款核销_loanWritoff放款核销Mon Sep 18 11:01:16 CST 2017","task_time":"2017-09-17T23:01:19.000-04:00"},{"taskId":"","processKey":"eiap633135","processInstanceId":"1beed1a4-9c1d-11e7-8c81-286ed488c6e9","task_name":"放款核销_loanWritoff放款核销Mon Sep 18 10:57:26 CST 2017","task_time":"2017-09-17T22:57:29.000-04:00"},{"taskId":"","processKey":"eiap633135","processInstanceId":"2a54c966-9abf-11e7-8c81-286ed488c6e9","task_name":"放款核销_loanWritoff放款核销Sat Sep 16 17:12:29 CST 2017","task_time":"2017-09-16T05:12:30.000-04:00"}]
     * contract_money : 11.03
     * task_count : 185
     * appAuth : [{"app_img_url":"baojia","app_sort":"1","app_name":"立项报价","app_code":"baojia"},{"app_img_url":"323","app_sort":"11","app_name":"报价器测试","app_code":"baojia_yg"},{"app_img_url":"32","app_sort":"12","app_name":"放款申请测试","app_code":"fksq_yg"},{"app_img_url":"222","app_sort":"13","app_name":"多设备测试","app_code":"multiDevice"},{"app_img_url":"333","app_sort":"14","app_name":"车e估测试","app_code":"cyg_yg"},{"app_img_url":"666","app_sort":"15","app_name":"放款测试","app_code":"fksq_yg_cs"},{"app_img_url":"6666","app_sort":"16","app_name":"日历测试","app_code":"cal_yg"},{"app_img_url":"11","app_sort":"17","app_name":"ma测试","app_code":"cygj_yg"},{"app_img_url":"csurl","app_sort":"20","app_name":"url测试","app_code":"csurl"},{"app_img_url":"fangkuanshenqing","app_sort":"3","app_name":"放款申请","app_code":"fangkuanshenqing"},{"app_img_url":"bee","app_sort":"42","app_name":"蜜蜂","app_code":"bee_yg"}]
     * customer_count : 182
     * payment_count : 1
     * loginInfo : {"tenantId":"yg_test","username":"hui.shen","token":"d2ViLDM2MDAsaGJIRWUvQ1dIaEFIZVhhbmFNb3h3dzRLMkJ3RllMdzJNY0xpVVVIQlNteC92WVhPbzEvR05BOUpLRFRDblRQNHlLYmtpQmkwQm9WcHNhdVYzdlBFT3c9PQ","userId":"OID10000000rfnm"}
     * success : true
     */

    private String contract_money;
    private String task_count;
    private String customer_count;
    private String payment_count;
    private LoginInfoBean loginInfo;
    private String success;
    private List<TaskListBean> task_list;
    private List<AppAuthBean> appAuth;

    public String getContract_money() {
        return contract_money;
    }

    public void setContract_money(String contract_money) {
        this.contract_money = contract_money;
    }

    public String getTask_count() {
        return task_count;
    }

    public void setTask_count(String task_count) {
        this.task_count = task_count;
    }

    public String getCustomer_count() {
        return customer_count;
    }

    public void setCustomer_count(String customer_count) {
        this.customer_count = customer_count;
    }

    public String getPayment_count() {
        return payment_count;
    }

    public void setPayment_count(String payment_count) {
        this.payment_count = payment_count;
    }

    public LoginInfoBean getLoginInfo() {
        return loginInfo;
    }

    public void setLoginInfo(LoginInfoBean loginInfo) {
        this.loginInfo = loginInfo;
    }

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public List<TaskListBean> getTask_list() {
        return task_list;
    }

    public void setTask_list(List<TaskListBean> task_list) {
        this.task_list = task_list;
    }

    public List<AppAuthBean> getAppAuth() {
        return appAuth;
    }

    public void setAppAuth(List<AppAuthBean> appAuth) {
        this.appAuth = appAuth;
    }

    public static class LoginInfoBean {
        /**
         * tenantId : yg_test
         * username : hui.shen
         * token : d2ViLDM2MDAsaGJIRWUvQ1dIaEFIZVhhbmFNb3h3dzRLMkJ3RllMdzJNY0xpVVVIQlNteC92WVhPbzEvR05BOUpLRFRDblRQNHlLYmtpQmkwQm9WcHNhdVYzdlBFT3c9PQ
         * userId : OID10000000rfnm
         */

        private String tenantId;
        private String username;
        private String token;
        private String userId;

        public String getTenantId() {
            return tenantId;
        }

        public void setTenantId(String tenantId) {
            this.tenantId = tenantId;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }
    }

    public static class TaskListBean implements Serializable{
        /**
         * taskId :
         * processKey : eiap786222
         * processInstanceId : 68b08692-9d16-11e7-8c81-286ed488c6e9
         * task_name : 报价_quote/客户名：马化/总金额：110300.0/报价编码：20170919A14
         * task_time : 2017-09-19T05:04:00.000-04:00
         */

        private String taskId;
        private String processKey;
        private String processInstanceId;
        private String task_name;
        private String task_time;

        public String getTaskId() {
            return taskId;
        }

        public void setTaskId(String taskId) {
            this.taskId = taskId;
        }

        public String getProcessKey() {
            return processKey;
        }

        public void setProcessKey(String processKey) {
            this.processKey = processKey;
        }

        public String getProcessInstanceId() {
            return processInstanceId;
        }

        public void setProcessInstanceId(String processInstanceId) {
            this.processInstanceId = processInstanceId;
        }

        public String getTask_name() {
            return task_name;
        }

        public void setTask_name(String task_name) {
            this.task_name = task_name;
        }

        public String getTask_time() {
            return task_time;
        }

        public void setTask_time(String task_time) {
            this.task_time = task_time;
        }
    }

    public static class AppAuthBean implements Serializable {
        /**
         * app_img_url : baojia
         * app_sort : 1
         * app_name : 立项报价
         * app_code : baojia
         */

        private String app_img_url;
        private String app_sort;
        private String app_name;
        private String app_code;

        public String getApp_img_url() {
            return app_img_url;
        }

        public void setApp_img_url(String app_img_url) {
            this.app_img_url = app_img_url;
        }

        public String getApp_sort() {
            return app_sort;
        }

        public void setApp_sort(String app_sort) {
            this.app_sort = app_sort;
        }

        public String getApp_name() {
            return app_name;
        }

        public void setApp_name(String app_name) {
            this.app_name = app_name;
        }

        public String getApp_code() {
            return app_code;
        }

        public void setApp_code(String app_code) {
            this.app_code = app_code;
        }
    }
}
